/*    */ package com.jcrj.listener;
/*    */ 
/*    */ import com.jcrj.entity.OUser;
/*    */ import java.util.Vector;
/*    */ 
/*    */ public class UserInfo
/*    */ {
/*  9 */   private static UserInfo info = new UserInfo();
/* 10 */   private Vector<OUser> vector = null;
/*    */ 
/*    */   public UserInfo() {
/* 13 */     this.vector = new Vector();
/*    */   }
/*    */ 
/*    */   public static UserInfo getIntance() {
/* 17 */     return info;
/*    */   }
/*    */ 
/*    */   public boolean addUser(OUser user) {
/* 21 */     if (user != null) {
/* 22 */       this.vector.add(user);
/* 23 */       return true;
/*    */     }
/* 25 */     return false;
/*    */   }
/*    */ 
/*    */   public Vector<OUser> getList()
/*    */   {
/* 30 */     return this.vector;
/*    */   }
/*    */ 
/*    */   public void removeUser(OUser user) {
/* 34 */     if (user != null)
/* 35 */       this.vector.removeElement(user);
/*    */   }
/*    */ }

/* Location:           /Volumes/work/oa/WEB-INF/classes/
 * Qualified Name:     com.jcrj.listener.UserInfo
 * JD-Core Version:    0.6.0
 */